package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Doctor;

public interface DoctorService extends IService<Doctor> {
    Doctor login(String username, String password);

    // 新增：通过userId获取医生信息
    Doctor getByUserId(Integer userId);
}
